package com.yssystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yssystem.domain.dto.UserDto;
import com.yssystem.mapper.SystemLoginMapper;
import com.yssystem.service.SysLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysLoginServiceImpl extends ServiceImpl<SystemLoginMapper, UserDto> implements SysLoginService {
    @Autowired
    private SystemLoginMapper systemLoginMapper;
    @Override
    public UserDto getUser(String username) {
        return systemLoginMapper.getUser(username);
    }
}
